package com.fallrain.fallrainspringboot.service;

import com.fallrain.fallrainspringboot.entity.User;

import java.util.List;

/**
 * @Title: UserService
 * @Author fallrain
 * @Package com.fallrain.fallrainspringboot.service
 * @Date 2023/9/17 20:31
 * @description: ${description}
 */

public interface UserService {


    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    int insertOrUpdate(User record);

    int insertOrUpdateSelective(User record);

    int updateBatch(List<User> list);

    int batchInsert(List<User> list);
}

